<? if (!defined("BASEPATH")) exit("No direct script access allowed");

echo	"<h2>".$title."</h2>";
//Common::pr($getContinentList);

echo	"<ul>";
foreach($getContinentList as $conId => $conData) {
	if(isset($conData["cou"])) {
		echo		"<li class=\"sitemap\">";
		echo			anchor($conData["url"], $conData["conName"]);
		echo			"<ul>";
		foreach($conData["cou"] as $couId => $couData) {
			echo				"<li class=\"sitemap\">";
			echo					anchor($couData["url"], $couData["couName"]);
			if(isset($couData["city"])) {
				echo					"<ul>";
				foreach($couData["city"] as $cityId => $cityData) {
					echo						"<li class=\"sitemap\">";
					echo							anchor($cityData["url"], $cityData["cityName"]." (".$couData["couName"].")");
					if(isset($cityData["ins"])) {
						echo							"<ul>";
						foreach($cityData["ins"] as $insId => $insData) {
							echo								"<li class=\"sitemap\">";
							echo									anchor($insData["url"], $insData["insName"]." (".$cityData["cityName"].")");
							echo									"<section class=\"sitemap_wide\">";
							if(isset($insData["maj"])) {
								echo									"<ul class=\"multicol colnum2\">";
								foreach($insData["maj"] as $majId => $majData) {
									echo										"<li style=\"background: none;\">".anchor($majData["url"], $majData["majName"])."</li>";
								}
								echo									"</ul>";
							}
							echo									"</section><br class=\"cb\" />";
							echo								"</li>";
						}
						echo							"</ul>";
					}
					echo						"</li>";
				}
				echo					"</ul>";
			}
			echo				"</li>";
		}
		echo			"</ul>";
		echo		"</li>";
	}
}
echo	"</ul>";